package com.rz.htk.order.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rz.core.common.model.PageEntity;
import com.rz.htk.order.entity.Commodity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单状态记录
 */
@TableName(value = "ord_order_record")
public class OrderRecord extends PageEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String commodityCode;//订单编号
    private int state ;//订单流程状态
    private String rmk ; //状态信息。
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime creationTime;
    private Integer crteMngId; //创建ID

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommodityCode() {
        return commodityCode;
    }

    public void setCommodityCode(String commodityCode) {
        this.commodityCode = commodityCode;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getRmk() {
        return rmk;
    }

    public void setRmk(String rmk) {
        this.rmk = rmk;
    }

    public LocalDateTime getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(LocalDateTime creationTime) {
        this.creationTime = creationTime;
    }

    public Integer getCrteMngId() {
        return crteMngId;
    }

    public void setCrteMngId(Integer crteMngId) {
        this.crteMngId = crteMngId;
    }
}
